package com.yanqu.road.entity.kowloon.common;


import java.util.ArrayList;
import java.util.List;

public class KowloonBuffParam {

    /**
     * 减速千分比/冰冻概率千分比/伤害为管家婆攻击力的千分比/眩晕概率千分比
     */
    private int probability;

    /**
     * 持续时间 ms
     */
    private int duration;

    /**
     * buff叠加次数上限
     */
    private int buffMaxCount;

    /**
     * 管家婆的伤害触发间隔  足球小子的击退效果  琴师增益buff相邻格子数
     */
    private List<Integer> param = new ArrayList<>();

    /**
     * 足球小子的穿透效果
     */
    private List<Integer> param2 = new ArrayList<>();

    public KowloonBuffParam clone() {
        KowloonBuffParam buffParam = new KowloonBuffParam();
        buffParam.setProbability(this.probability);
        buffParam.setDuration(this.duration);
        buffParam.setBuffMaxCount(this.buffMaxCount);
        buffParam.setParam(new ArrayList<>(this.param));
        buffParam.setParam2(new ArrayList<>(this.param2));
        return buffParam;
    }

    public int getProbability() {
        return probability;
    }

    public void setProbability(int probability) {
        this.probability = probability;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public int getBuffMaxCount() {
        return buffMaxCount;
    }

    public void setBuffMaxCount(int buffMaxCount) {
        this.buffMaxCount = buffMaxCount;
    }

    public List<Integer> getParam() {
        return param;
    }

    public void setParam(List<Integer> param) {
        this.param = param;
    }

    public List<Integer> getParam2() {
        return param2;
    }

    public void setParam2(List<Integer> param2) {
        this.param2 = param2;
    }
}
